package com.xiangty.bean;

/**
 * 学生信息
 * @author xiangty
 *
 */
public class StudentInfo {

	private Integer studentId;
	private String studentName;
	/**
	 * 所在班级
	 */
	private ClassInfo classInfo;

	public StudentInfo() {
	}

	public Integer getStudentId() {
		return studentId;
	}

	public void setStudentId(Integer studentId) {
		this.studentId = studentId;
	}

	public String getStudentName() {
		return studentName;
	}

	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

	public ClassInfo getClassInfo() {
		return classInfo;
	}

	public void setClassInfo(ClassInfo classInfo) {
		this.classInfo = classInfo;
	}

	@Override
	public String toString() {
		return "StudentInfo [studentId=" + studentId + ", studentName=" + studentName + ", classInfo=" + classInfo
				+ "]";
	}
	
}
